package com.maybach.common.query;


import com.maybach.util.query.support.BaseQuery;
import com.maybach.util.query.support.BaseCriteria;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 1L;

    public OrderQuery() {
        super();
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        super.oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This class corresponds to the database table b2b_order
     */
    protected abstract static class GeneratedCriteria extends BaseCriteria {

        protected GeneratedCriteria() {
            super();
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(Date value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(Date value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(Date value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(Date value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<Date> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<Date> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(Date value1, Date value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNull() {
            addCriterion("gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNotNull() {
            addCriterion("gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedEqualTo(Date value) {
            addCriterion("gmt_modified =", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotEqualTo(Date value) {
            addCriterion("gmt_modified <>", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThan(Date value) {
            addCriterion("gmt_modified >", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_modified >=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThan(Date value) {
            addCriterion("gmt_modified <", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThanOrEqualTo(Date value) {
            addCriterion("gmt_modified <=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIn(List<Date> values) {
            addCriterion("gmt_modified in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotIn(List<Date> values) {
            addCriterion("gmt_modified not in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedBetween(Date value1, Date value2) {
            addCriterion("gmt_modified between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotBetween(Date value1, Date value2) {
            addCriterion("gmt_modified not between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("order_no is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("order_no is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("order_no =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("order_no <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("order_no >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("order_no >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("order_no <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("order_no <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("order_no like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("order_no not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("order_no in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("order_no not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("order_no between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("order_no not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andCarNumIsNull() {
            addCriterion("car_num is null");
            return (Criteria) this;
        }

        public Criteria andCarNumIsNotNull() {
            addCriterion("car_num is not null");
            return (Criteria) this;
        }

        public Criteria andCarNumEqualTo(Integer value) {
            addCriterion("car_num =", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotEqualTo(Integer value) {
            addCriterion("car_num <>", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumGreaterThan(Integer value) {
            addCriterion("car_num >", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("car_num >=", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumLessThan(Integer value) {
            addCriterion("car_num <", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumLessThanOrEqualTo(Integer value) {
            addCriterion("car_num <=", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumLike(Integer value) {
            addCriterion("car_num like", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotLike(Integer value) {
            addCriterion("car_num not like", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumIn(List<Integer> values) {
            addCriterion("car_num in", values, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotIn(List<Integer> values) {
            addCriterion("car_num not in", values, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumBetween(Integer value1, Integer value2) {
            addCriterion("car_num between", value1, value2, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotBetween(Integer value1, Integer value2) {
            addCriterion("car_num not between", value1, value2, "carNum");
            return (Criteria) this;
        }

        public Criteria andBuyerIdIsNull() {
            addCriterion("buyer_id is null");
            return (Criteria) this;
        }

        public Criteria andBuyerIdIsNotNull() {
            addCriterion("buyer_id is not null");
            return (Criteria) this;
        }

        public Criteria andBuyerIdEqualTo(Long value) {
            addCriterion("buyer_id =", value, "buyerId");
            return (Criteria) this;
        }

        public Criteria andBuyerIdNotEqualTo(Long value) {
            addCriterion("buyer_id <>", value, "buyerId");
            return (Criteria) this;
        }

        public Criteria andBuyerIdGreaterThan(Long value) {
            addCriterion("buyer_id >", value, "buyerId");
            return (Criteria) this;
        }

        public Criteria andBuyerIdGreaterThanOrEqualTo(Long value) {
            addCriterion("buyer_id >=", value, "buyerId");
            return (Criteria) this;
        }

        public Criteria andBuyerIdLessThan(Long value) {
            addCriterion("buyer_id <", value, "buyerId");
            return (Criteria) this;
        }

        public Criteria andBuyerIdLessThanOrEqualTo(Long value) {
            addCriterion("buyer_id <=", value, "buyerId");
            return (Criteria) this;
        }

        public Criteria andBuyerIdLike(Long value) {
            addCriterion("buyer_id like", value, "buyerId");
            return (Criteria) this;
        }

        public Criteria andBuyerIdNotLike(Long value) {
            addCriterion("buyer_id not like", value, "buyerId");
            return (Criteria) this;
        }

        public Criteria andBuyerIdIn(List<Long> values) {
            addCriterion("buyer_id in", values, "buyerId");
            return (Criteria) this;
        }

        public Criteria andBuyerIdNotIn(List<Long> values) {
            addCriterion("buyer_id not in", values, "buyerId");
            return (Criteria) this;
        }

        public Criteria andBuyerIdBetween(Long value1, Long value2) {
            addCriterion("buyer_id between", value1, value2, "buyerId");
            return (Criteria) this;
        }

        public Criteria andBuyerIdNotBetween(Long value1, Long value2) {
            addCriterion("buyer_id not between", value1, value2, "buyerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdIsNull() {
            addCriterion("seller_id is null");
            return (Criteria) this;
        }

        public Criteria andSellerIdIsNotNull() {
            addCriterion("seller_id is not null");
            return (Criteria) this;
        }

        public Criteria andSellerIdEqualTo(Long value) {
            addCriterion("seller_id =", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdNotEqualTo(Long value) {
            addCriterion("seller_id <>", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdGreaterThan(Long value) {
            addCriterion("seller_id >", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdGreaterThanOrEqualTo(Long value) {
            addCriterion("seller_id >=", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdLessThan(Long value) {
            addCriterion("seller_id <", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdLessThanOrEqualTo(Long value) {
            addCriterion("seller_id <=", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdLike(Long value) {
            addCriterion("seller_id like", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdNotLike(Long value) {
            addCriterion("seller_id not like", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdIn(List<Long> values) {
            addCriterion("seller_id in", values, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdNotIn(List<Long> values) {
            addCriterion("seller_id not in", values, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdBetween(Long value1, Long value2) {
            addCriterion("seller_id between", value1, value2, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdNotBetween(Long value1, Long value2) {
            addCriterion("seller_id not between", value1, value2, "sellerId");
            return (Criteria) this;
        }

        public Criteria andProviderIdIsNull() {
            addCriterion("provider_id is null");
            return (Criteria) this;
        }

        public Criteria andProviderIdIsNotNull() {
            addCriterion("provider_id is not null");
            return (Criteria) this;
        }

        public Criteria andProviderIdEqualTo(Long value) {
            addCriterion("provider_id =", value, "providerId");
            return (Criteria) this;
        }

        public Criteria andProviderIdNotEqualTo(Long value) {
            addCriterion("provider_id <>", value, "providerId");
            return (Criteria) this;
        }

        public Criteria andProviderIdGreaterThan(Long value) {
            addCriterion("provider_id >", value, "providerId");
            return (Criteria) this;
        }

        public Criteria andProviderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("provider_id >=", value, "providerId");
            return (Criteria) this;
        }

        public Criteria andProviderIdLessThan(Long value) {
            addCriterion("provider_id <", value, "providerId");
            return (Criteria) this;
        }

        public Criteria andProviderIdLessThanOrEqualTo(Long value) {
            addCriterion("provider_id <=", value, "providerId");
            return (Criteria) this;
        }

        public Criteria andProviderIdLike(Long value) {
            addCriterion("provider_id like", value, "providerId");
            return (Criteria) this;
        }

        public Criteria andProviderIdNotLike(Long value) {
            addCriterion("provider_id not like", value, "providerId");
            return (Criteria) this;
        }

        public Criteria andProviderIdIn(List<Long> values) {
            addCriterion("provider_id in", values, "providerId");
            return (Criteria) this;
        }

        public Criteria andProviderIdNotIn(List<Long> values) {
            addCriterion("provider_id not in", values, "providerId");
            return (Criteria) this;
        }

        public Criteria andProviderIdBetween(Long value1, Long value2) {
            addCriterion("provider_id between", value1, value2, "providerId");
            return (Criteria) this;
        }

        public Criteria andProviderIdNotBetween(Long value1, Long value2) {
            addCriterion("provider_id not between", value1, value2, "providerId");
            return (Criteria) this;
        }

        public Criteria andDealerIdIsNull() {
            addCriterion("dealer_id is null");
            return (Criteria) this;
        }

        public Criteria andDealerIdIsNotNull() {
            addCriterion("dealer_id is not null");
            return (Criteria) this;
        }

        public Criteria andDealerIdEqualTo(Long value) {
            addCriterion("dealer_id =", value, "dealerId");
            return (Criteria) this;
        }

        public Criteria andDealerIdNotEqualTo(Long value) {
            addCriterion("dealer_id <>", value, "dealerId");
            return (Criteria) this;
        }

        public Criteria andDealerIdGreaterThan(Long value) {
            addCriterion("dealer_id >", value, "dealerId");
            return (Criteria) this;
        }

        public Criteria andDealerIdGreaterThanOrEqualTo(Long value) {
            addCriterion("dealer_id >=", value, "dealerId");
            return (Criteria) this;
        }

        public Criteria andDealerIdLessThan(Long value) {
            addCriterion("dealer_id <", value, "dealerId");
            return (Criteria) this;
        }

        public Criteria andDealerIdLessThanOrEqualTo(Long value) {
            addCriterion("dealer_id <=", value, "dealerId");
            return (Criteria) this;
        }

        public Criteria andDealerIdLike(Long value) {
            addCriterion("dealer_id like", value, "dealerId");
            return (Criteria) this;
        }

        public Criteria andDealerIdNotLike(Long value) {
            addCriterion("dealer_id not like", value, "dealerId");
            return (Criteria) this;
        }

        public Criteria andDealerIdIn(List<Long> values) {
            addCriterion("dealer_id in", values, "dealerId");
            return (Criteria) this;
        }

        public Criteria andDealerIdNotIn(List<Long> values) {
            addCriterion("dealer_id not in", values, "dealerId");
            return (Criteria) this;
        }

        public Criteria andDealerIdBetween(Long value1, Long value2) {
            addCriterion("dealer_id between", value1, value2, "dealerId");
            return (Criteria) this;
        }

        public Criteria andDealerIdNotBetween(Long value1, Long value2) {
            addCriterion("dealer_id not between", value1, value2, "dealerId");
            return (Criteria) this;
        }

        public Criteria andProviderNameIsNull() {
            addCriterion("provider_name is null");
            return (Criteria) this;
        }

        public Criteria andProviderNameIsNotNull() {
            addCriterion("provider_name is not null");
            return (Criteria) this;
        }

        public Criteria andProviderNameEqualTo(String value) {
            addCriterion("provider_name =", value, "providerName");
            return (Criteria) this;
        }

        public Criteria andProviderNameNotEqualTo(String value) {
            addCriterion("provider_name <>", value, "providerName");
            return (Criteria) this;
        }

        public Criteria andProviderNameGreaterThan(String value) {
            addCriterion("provider_name >", value, "providerName");
            return (Criteria) this;
        }

        public Criteria andProviderNameGreaterThanOrEqualTo(String value) {
            addCriterion("provider_name >=", value, "providerName");
            return (Criteria) this;
        }

        public Criteria andProviderNameLessThan(String value) {
            addCriterion("provider_name <", value, "providerName");
            return (Criteria) this;
        }

        public Criteria andProviderNameLessThanOrEqualTo(String value) {
            addCriterion("provider_name <=", value, "providerName");
            return (Criteria) this;
        }

        public Criteria andProviderNameLike(String value) {
            addCriterion("provider_name like", value, "providerName");
            return (Criteria) this;
        }

        public Criteria andProviderNameNotLike(String value) {
            addCriterion("provider_name not like", value, "providerName");
            return (Criteria) this;
        }

        public Criteria andProviderNameIn(List<String> values) {
            addCriterion("provider_name in", values, "providerName");
            return (Criteria) this;
        }

        public Criteria andProviderNameNotIn(List<String> values) {
            addCriterion("provider_name not in", values, "providerName");
            return (Criteria) this;
        }

        public Criteria andProviderNameBetween(String value1, String value2) {
            addCriterion("provider_name between", value1, value2, "providerName");
            return (Criteria) this;
        }

        public Criteria andProviderNameNotBetween(String value1, String value2) {
            addCriterion("provider_name not between", value1, value2, "providerName");
            return (Criteria) this;
        }

        public Criteria andDealerNameIsNull() {
            addCriterion("dealer_name is null");
            return (Criteria) this;
        }

        public Criteria andDealerNameIsNotNull() {
            addCriterion("dealer_name is not null");
            return (Criteria) this;
        }

        public Criteria andDealerNameEqualTo(String value) {
            addCriterion("dealer_name =", value, "dealerName");
            return (Criteria) this;
        }

        public Criteria andDealerNameNotEqualTo(String value) {
            addCriterion("dealer_name <>", value, "dealerName");
            return (Criteria) this;
        }

        public Criteria andDealerNameGreaterThan(String value) {
            addCriterion("dealer_name >", value, "dealerName");
            return (Criteria) this;
        }

        public Criteria andDealerNameGreaterThanOrEqualTo(String value) {
            addCriterion("dealer_name >=", value, "dealerName");
            return (Criteria) this;
        }

        public Criteria andDealerNameLessThan(String value) {
            addCriterion("dealer_name <", value, "dealerName");
            return (Criteria) this;
        }

        public Criteria andDealerNameLessThanOrEqualTo(String value) {
            addCriterion("dealer_name <=", value, "dealerName");
            return (Criteria) this;
        }

        public Criteria andDealerNameLike(String value) {
            addCriterion("dealer_name like", value, "dealerName");
            return (Criteria) this;
        }

        public Criteria andDealerNameNotLike(String value) {
            addCriterion("dealer_name not like", value, "dealerName");
            return (Criteria) this;
        }

        public Criteria andDealerNameIn(List<String> values) {
            addCriterion("dealer_name in", values, "dealerName");
            return (Criteria) this;
        }

        public Criteria andDealerNameNotIn(List<String> values) {
            addCriterion("dealer_name not in", values, "dealerName");
            return (Criteria) this;
        }

        public Criteria andDealerNameBetween(String value1, String value2) {
            addCriterion("dealer_name between", value1, value2, "dealerName");
            return (Criteria) this;
        }

        public Criteria andDealerNameNotBetween(String value1, String value2) {
            addCriterion("dealer_name not between", value1, value2, "dealerName");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIsNull() {
            addCriterion("total_amount is null");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIsNotNull() {
            addCriterion("total_amount is not null");
            return (Criteria) this;
        }

        public Criteria andTotalAmountEqualTo(Long value) {
            addCriterion("total_amount =", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotEqualTo(Long value) {
            addCriterion("total_amount <>", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountGreaterThan(Long value) {
            addCriterion("total_amount >", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("total_amount >=", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountLessThan(Long value) {
            addCriterion("total_amount <", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountLessThanOrEqualTo(Long value) {
            addCriterion("total_amount <=", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountLike(Long value) {
            addCriterion("total_amount like", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotLike(Long value) {
            addCriterion("total_amount not like", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIn(List<Long> values) {
            addCriterion("total_amount in", values, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotIn(List<Long> values) {
            addCriterion("total_amount not in", values, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountBetween(Long value1, Long value2) {
            addCriterion("total_amount between", value1, value2, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotBetween(Long value1, Long value2) {
            addCriterion("total_amount not between", value1, value2, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andCarIdIsNull() {
            addCriterion("car_id is null");
            return (Criteria) this;
        }

        public Criteria andCarIdIsNotNull() {
            addCriterion("car_id is not null");
            return (Criteria) this;
        }

        public Criteria andCarIdEqualTo(Long value) {
            addCriterion("car_id =", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdNotEqualTo(Long value) {
            addCriterion("car_id <>", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdGreaterThan(Long value) {
            addCriterion("car_id >", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdGreaterThanOrEqualTo(Long value) {
            addCriterion("car_id >=", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdLessThan(Long value) {
            addCriterion("car_id <", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdLessThanOrEqualTo(Long value) {
            addCriterion("car_id <=", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdLike(Long value) {
            addCriterion("car_id like", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdNotLike(Long value) {
            addCriterion("car_id not like", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdIn(List<Long> values) {
            addCriterion("car_id in", values, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdNotIn(List<Long> values) {
            addCriterion("car_id not in", values, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdBetween(Long value1, Long value2) {
            addCriterion("car_id between", value1, value2, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdNotBetween(Long value1, Long value2) {
            addCriterion("car_id not between", value1, value2, "carId");
            return (Criteria) this;
        }

        public Criteria andCarAmountIsNull() {
            addCriterion("car_amount is null");
            return (Criteria) this;
        }

        public Criteria andCarAmountIsNotNull() {
            addCriterion("car_amount is not null");
            return (Criteria) this;
        }

        public Criteria andCarAmountEqualTo(Long value) {
            addCriterion("car_amount =", value, "carAmount");
            return (Criteria) this;
        }

        public Criteria andCarAmountNotEqualTo(Long value) {
            addCriterion("car_amount <>", value, "carAmount");
            return (Criteria) this;
        }

        public Criteria andCarAmountGreaterThan(Long value) {
            addCriterion("car_amount >", value, "carAmount");
            return (Criteria) this;
        }

        public Criteria andCarAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("car_amount >=", value, "carAmount");
            return (Criteria) this;
        }

        public Criteria andCarAmountLessThan(Long value) {
            addCriterion("car_amount <", value, "carAmount");
            return (Criteria) this;
        }

        public Criteria andCarAmountLessThanOrEqualTo(Long value) {
            addCriterion("car_amount <=", value, "carAmount");
            return (Criteria) this;
        }

        public Criteria andCarAmountLike(Long value) {
            addCriterion("car_amount like", value, "carAmount");
            return (Criteria) this;
        }

        public Criteria andCarAmountNotLike(Long value) {
            addCriterion("car_amount not like", value, "carAmount");
            return (Criteria) this;
        }

        public Criteria andCarAmountIn(List<Long> values) {
            addCriterion("car_amount in", values, "carAmount");
            return (Criteria) this;
        }

        public Criteria andCarAmountNotIn(List<Long> values) {
            addCriterion("car_amount not in", values, "carAmount");
            return (Criteria) this;
        }

        public Criteria andCarAmountBetween(Long value1, Long value2) {
            addCriterion("car_amount between", value1, value2, "carAmount");
            return (Criteria) this;
        }

        public Criteria andCarAmountNotBetween(Long value1, Long value2) {
            addCriterion("car_amount not between", value1, value2, "carAmount");
            return (Criteria) this;
        }

        public Criteria andDespositAmountIsNull() {
            addCriterion("desposit_amount is null");
            return (Criteria) this;
        }

        public Criteria andDespositAmountIsNotNull() {
            addCriterion("desposit_amount is not null");
            return (Criteria) this;
        }

        public Criteria andDespositAmountEqualTo(Long value) {
            addCriterion("desposit_amount =", value, "despositAmount");
            return (Criteria) this;
        }

        public Criteria andDespositAmountNotEqualTo(Long value) {
            addCriterion("desposit_amount <>", value, "despositAmount");
            return (Criteria) this;
        }

        public Criteria andDespositAmountGreaterThan(Long value) {
            addCriterion("desposit_amount >", value, "despositAmount");
            return (Criteria) this;
        }

        public Criteria andDespositAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("desposit_amount >=", value, "despositAmount");
            return (Criteria) this;
        }

        public Criteria andDespositAmountLessThan(Long value) {
            addCriterion("desposit_amount <", value, "despositAmount");
            return (Criteria) this;
        }

        public Criteria andDespositAmountLessThanOrEqualTo(Long value) {
            addCriterion("desposit_amount <=", value, "despositAmount");
            return (Criteria) this;
        }

        public Criteria andDespositAmountLike(Long value) {
            addCriterion("desposit_amount like", value, "despositAmount");
            return (Criteria) this;
        }

        public Criteria andDespositAmountNotLike(Long value) {
            addCriterion("desposit_amount not like", value, "despositAmount");
            return (Criteria) this;
        }

        public Criteria andDespositAmountIn(List<Long> values) {
            addCriterion("desposit_amount in", values, "despositAmount");
            return (Criteria) this;
        }

        public Criteria andDespositAmountNotIn(List<Long> values) {
            addCriterion("desposit_amount not in", values, "despositAmount");
            return (Criteria) this;
        }

        public Criteria andDespositAmountBetween(Long value1, Long value2) {
            addCriterion("desposit_amount between", value1, value2, "despositAmount");
            return (Criteria) this;
        }

        public Criteria andDespositAmountNotBetween(Long value1, Long value2) {
            addCriterion("desposit_amount not between", value1, value2, "despositAmount");
            return (Criteria) this;
        }

        public Criteria andDespositPayTimeIsNull() {
            addCriterion("desposit_pay_time is null");
            return (Criteria) this;
        }

        public Criteria andDespositPayTimeIsNotNull() {
            addCriterion("desposit_pay_time is not null");
            return (Criteria) this;
        }

        public Criteria andDespositPayTimeEqualTo(Date value) {
            addCriterion("desposit_pay_time =", value, "despositPayTime");
            return (Criteria) this;
        }

        public Criteria andDespositPayTimeNotEqualTo(Date value) {
            addCriterion("desposit_pay_time <>", value, "despositPayTime");
            return (Criteria) this;
        }

        public Criteria andDespositPayTimeGreaterThan(Date value) {
            addCriterion("desposit_pay_time >", value, "despositPayTime");
            return (Criteria) this;
        }

        public Criteria andDespositPayTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("desposit_pay_time >=", value, "despositPayTime");
            return (Criteria) this;
        }

        public Criteria andDespositPayTimeLessThan(Date value) {
            addCriterion("desposit_pay_time <", value, "despositPayTime");
            return (Criteria) this;
        }

        public Criteria andDespositPayTimeLessThanOrEqualTo(Date value) {
            addCriterion("desposit_pay_time <=", value, "despositPayTime");
            return (Criteria) this;
        }

        public Criteria andDespositPayTimeLike(Date value) {
            addCriterion("desposit_pay_time like", value, "despositPayTime");
            return (Criteria) this;
        }

        public Criteria andDespositPayTimeNotLike(Date value) {
            addCriterion("desposit_pay_time not like", value, "despositPayTime");
            return (Criteria) this;
        }

        public Criteria andDespositPayTimeIn(List<Date> values) {
            addCriterion("desposit_pay_time in", values, "despositPayTime");
            return (Criteria) this;
        }

        public Criteria andDespositPayTimeNotIn(List<Date> values) {
            addCriterion("desposit_pay_time not in", values, "despositPayTime");
            return (Criteria) this;
        }

        public Criteria andDespositPayTimeBetween(Date value1, Date value2) {
            addCriterion("desposit_pay_time between", value1, value2, "despositPayTime");
            return (Criteria) this;
        }

        public Criteria andDespositPayTimeNotBetween(Date value1, Date value2) {
            addCriterion("desposit_pay_time not between", value1, value2, "despositPayTime");
            return (Criteria) this;
        }

        public Criteria andDespositImgsIsNull() {
            addCriterion("desposit_imgs is null");
            return (Criteria) this;
        }

        public Criteria andDespositImgsIsNotNull() {
            addCriterion("desposit_imgs is not null");
            return (Criteria) this;
        }

        public Criteria andDespositImgsEqualTo(String value) {
            addCriterion("desposit_imgs =", value, "despositImgs");
            return (Criteria) this;
        }

        public Criteria andDespositImgsNotEqualTo(String value) {
            addCriterion("desposit_imgs <>", value, "despositImgs");
            return (Criteria) this;
        }

        public Criteria andDespositImgsGreaterThan(String value) {
            addCriterion("desposit_imgs >", value, "despositImgs");
            return (Criteria) this;
        }

        public Criteria andDespositImgsGreaterThanOrEqualTo(String value) {
            addCriterion("desposit_imgs >=", value, "despositImgs");
            return (Criteria) this;
        }

        public Criteria andDespositImgsLessThan(String value) {
            addCriterion("desposit_imgs <", value, "despositImgs");
            return (Criteria) this;
        }

        public Criteria andDespositImgsLessThanOrEqualTo(String value) {
            addCriterion("desposit_imgs <=", value, "despositImgs");
            return (Criteria) this;
        }

        public Criteria andDespositImgsLike(String value) {
            addCriterion("desposit_imgs like", value, "despositImgs");
            return (Criteria) this;
        }

        public Criteria andDespositImgsNotLike(String value) {
            addCriterion("desposit_imgs not like", value, "despositImgs");
            return (Criteria) this;
        }

        public Criteria andDespositImgsIn(List<String> values) {
            addCriterion("desposit_imgs in", values, "despositImgs");
            return (Criteria) this;
        }

        public Criteria andDespositImgsNotIn(List<String> values) {
            addCriterion("desposit_imgs not in", values, "despositImgs");
            return (Criteria) this;
        }

        public Criteria andDespositImgsBetween(String value1, String value2) {
            addCriterion("desposit_imgs between", value1, value2, "despositImgs");
            return (Criteria) this;
        }

        public Criteria andDespositImgsNotBetween(String value1, String value2) {
            addCriterion("desposit_imgs not between", value1, value2, "despositImgs");
            return (Criteria) this;
        }

        public Criteria andDespositImgsStatusIsNull() {
            addCriterion("desposit_imgs_status is null");
            return (Criteria) this;
        }

        public Criteria andDespositImgsStatusIsNotNull() {
            addCriterion("desposit_imgs_status is not null");
            return (Criteria) this;
        }

        public Criteria andDespositImgsStatusEqualTo(Integer value) {
            addCriterion("desposit_imgs_status =", value, "despositImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDespositImgsStatusNotEqualTo(Integer value) {
            addCriterion("desposit_imgs_status <>", value, "despositImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDespositImgsStatusGreaterThan(Integer value) {
            addCriterion("desposit_imgs_status >", value, "despositImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDespositImgsStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("desposit_imgs_status >=", value, "despositImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDespositImgsStatusLessThan(Integer value) {
            addCriterion("desposit_imgs_status <", value, "despositImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDespositImgsStatusLessThanOrEqualTo(Integer value) {
            addCriterion("desposit_imgs_status <=", value, "despositImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDespositImgsStatusLike(Integer value) {
            addCriterion("desposit_imgs_status like", value, "despositImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDespositImgsStatusNotLike(Integer value) {
            addCriterion("desposit_imgs_status not like", value, "despositImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDespositImgsStatusIn(List<Integer> values) {
            addCriterion("desposit_imgs_status in", values, "despositImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDespositImgsStatusNotIn(List<Integer> values) {
            addCriterion("desposit_imgs_status not in", values, "despositImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDespositImgsStatusBetween(Integer value1, Integer value2) {
            addCriterion("desposit_imgs_status between", value1, value2, "despositImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDespositImgsStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("desposit_imgs_status not between", value1, value2, "despositImgsStatus");
            return (Criteria) this;
        }

        public Criteria andContractImgsIsNull() {
            addCriterion("contract_imgs is null");
            return (Criteria) this;
        }

        public Criteria andContractImgsIsNotNull() {
            addCriterion("contract_imgs is not null");
            return (Criteria) this;
        }

        public Criteria andContractImgsEqualTo(String value) {
            addCriterion("contract_imgs =", value, "contractImgs");
            return (Criteria) this;
        }

        public Criteria andContractImgsNotEqualTo(String value) {
            addCriterion("contract_imgs <>", value, "contractImgs");
            return (Criteria) this;
        }

        public Criteria andContractImgsGreaterThan(String value) {
            addCriterion("contract_imgs >", value, "contractImgs");
            return (Criteria) this;
        }

        public Criteria andContractImgsGreaterThanOrEqualTo(String value) {
            addCriterion("contract_imgs >=", value, "contractImgs");
            return (Criteria) this;
        }

        public Criteria andContractImgsLessThan(String value) {
            addCriterion("contract_imgs <", value, "contractImgs");
            return (Criteria) this;
        }

        public Criteria andContractImgsLessThanOrEqualTo(String value) {
            addCriterion("contract_imgs <=", value, "contractImgs");
            return (Criteria) this;
        }

        public Criteria andContractImgsLike(String value) {
            addCriterion("contract_imgs like", value, "contractImgs");
            return (Criteria) this;
        }

        public Criteria andContractImgsNotLike(String value) {
            addCriterion("contract_imgs not like", value, "contractImgs");
            return (Criteria) this;
        }

        public Criteria andContractImgsIn(List<String> values) {
            addCriterion("contract_imgs in", values, "contractImgs");
            return (Criteria) this;
        }

        public Criteria andContractImgsNotIn(List<String> values) {
            addCriterion("contract_imgs not in", values, "contractImgs");
            return (Criteria) this;
        }

        public Criteria andContractImgsBetween(String value1, String value2) {
            addCriterion("contract_imgs between", value1, value2, "contractImgs");
            return (Criteria) this;
        }

        public Criteria andContractImgsNotBetween(String value1, String value2) {
            addCriterion("contract_imgs not between", value1, value2, "contractImgs");
            return (Criteria) this;
        }

        public Criteria andContractImgsStatusIsNull() {
            addCriterion("contract_imgs_status is null");
            return (Criteria) this;
        }

        public Criteria andContractImgsStatusIsNotNull() {
            addCriterion("contract_imgs_status is not null");
            return (Criteria) this;
        }

        public Criteria andContractImgsStatusEqualTo(Integer value) {
            addCriterion("contract_imgs_status =", value, "contractImgsStatus");
            return (Criteria) this;
        }

        public Criteria andContractImgsStatusNotEqualTo(Integer value) {
            addCriterion("contract_imgs_status <>", value, "contractImgsStatus");
            return (Criteria) this;
        }

        public Criteria andContractImgsStatusGreaterThan(Integer value) {
            addCriterion("contract_imgs_status >", value, "contractImgsStatus");
            return (Criteria) this;
        }

        public Criteria andContractImgsStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("contract_imgs_status >=", value, "contractImgsStatus");
            return (Criteria) this;
        }

        public Criteria andContractImgsStatusLessThan(Integer value) {
            addCriterion("contract_imgs_status <", value, "contractImgsStatus");
            return (Criteria) this;
        }

        public Criteria andContractImgsStatusLessThanOrEqualTo(Integer value) {
            addCriterion("contract_imgs_status <=", value, "contractImgsStatus");
            return (Criteria) this;
        }

        public Criteria andContractImgsStatusLike(Integer value) {
            addCriterion("contract_imgs_status like", value, "contractImgsStatus");
            return (Criteria) this;
        }

        public Criteria andContractImgsStatusNotLike(Integer value) {
            addCriterion("contract_imgs_status not like", value, "contractImgsStatus");
            return (Criteria) this;
        }

        public Criteria andContractImgsStatusIn(List<Integer> values) {
            addCriterion("contract_imgs_status in", values, "contractImgsStatus");
            return (Criteria) this;
        }

        public Criteria andContractImgsStatusNotIn(List<Integer> values) {
            addCriterion("contract_imgs_status not in", values, "contractImgsStatus");
            return (Criteria) this;
        }

        public Criteria andContractImgsStatusBetween(Integer value1, Integer value2) {
            addCriterion("contract_imgs_status between", value1, value2, "contractImgsStatus");
            return (Criteria) this;
        }

        public Criteria andContractImgsStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("contract_imgs_status not between", value1, value2, "contractImgsStatus");
            return (Criteria) this;
        }

        public Criteria andOtherFeeIsNull() {
            addCriterion("other_fee is null");
            return (Criteria) this;
        }

        public Criteria andOtherFeeIsNotNull() {
            addCriterion("other_fee is not null");
            return (Criteria) this;
        }

        public Criteria andOtherFeeEqualTo(Long value) {
            addCriterion("other_fee =", value, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeNotEqualTo(Long value) {
            addCriterion("other_fee <>", value, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeGreaterThan(Long value) {
            addCriterion("other_fee >", value, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeGreaterThanOrEqualTo(Long value) {
            addCriterion("other_fee >=", value, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeLessThan(Long value) {
            addCriterion("other_fee <", value, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeLessThanOrEqualTo(Long value) {
            addCriterion("other_fee <=", value, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeLike(Long value) {
            addCriterion("other_fee like", value, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeNotLike(Long value) {
            addCriterion("other_fee not like", value, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeIn(List<Long> values) {
            addCriterion("other_fee in", values, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeNotIn(List<Long> values) {
            addCriterion("other_fee not in", values, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeBetween(Long value1, Long value2) {
            addCriterion("other_fee between", value1, value2, "otherFee");
            return (Criteria) this;
        }

        public Criteria andOtherFeeNotBetween(Long value1, Long value2) {
            addCriterion("other_fee not between", value1, value2, "otherFee");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(Integer value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(Integer value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNull() {
            addCriterion("is_deleted is null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNotNull() {
            addCriterion("is_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedEqualTo(Boolean value) {
            addCriterion("is_deleted =", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotEqualTo(Boolean value) {
            addCriterion("is_deleted <>", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThan(Boolean value) {
            addCriterion("is_deleted >", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_deleted >=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThan(Boolean value) {
            addCriterion("is_deleted <", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("is_deleted <=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLike(Boolean value) {
            addCriterion("is_deleted like", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotLike(Boolean value) {
            addCriterion("is_deleted not like", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIn(List<Boolean> values) {
            addCriterion("is_deleted in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotIn(List<Boolean> values) {
            addCriterion("is_deleted not in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("is_deleted between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_deleted not between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(Integer value) {
            addCriterion("version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(Integer value) {
            addCriterion("version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(Integer value) {
            addCriterion("version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
            addCriterion("version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(Integer value) {
            addCriterion("version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(Integer value) {
            addCriterion("version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLike(Integer value) {
            addCriterion("version like", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotLike(Integer value) {
            addCriterion("version not like", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<Integer> values) {
            addCriterion("version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<Integer> values) {
            addCriterion("version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(Integer value1, Integer value2) {
            addCriterion("version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(Integer value1, Integer value2) {
            addCriterion("version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andAttributesIsNull() {
            addCriterion("attributes is null");
            return (Criteria) this;
        }

        public Criteria andAttributesIsNotNull() {
            addCriterion("attributes is not null");
            return (Criteria) this;
        }

        public Criteria andAttributesEqualTo(String value) {
            addCriterion("attributes =", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesNotEqualTo(String value) {
            addCriterion("attributes <>", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesGreaterThan(String value) {
            addCriterion("attributes >", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesGreaterThanOrEqualTo(String value) {
            addCriterion("attributes >=", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesLessThan(String value) {
            addCriterion("attributes <", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesLessThanOrEqualTo(String value) {
            addCriterion("attributes <=", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesLike(String value) {
            addCriterion("attributes like", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesNotLike(String value) {
            addCriterion("attributes not like", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesIn(List<String> values) {
            addCriterion("attributes in", values, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesNotIn(List<String> values) {
            addCriterion("attributes not in", values, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesBetween(String value1, String value2) {
            addCriterion("attributes between", value1, value2, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesNotBetween(String value1, String value2) {
            addCriterion("attributes not between", value1, value2, "attributes");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsIsNull() {
            addCriterion("daifu_imgs is null");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsIsNotNull() {
            addCriterion("daifu_imgs is not null");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsEqualTo(String value) {
            addCriterion("daifu_imgs =", value, "daifuImgs");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsNotEqualTo(String value) {
            addCriterion("daifu_imgs <>", value, "daifuImgs");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsGreaterThan(String value) {
            addCriterion("daifu_imgs >", value, "daifuImgs");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsGreaterThanOrEqualTo(String value) {
            addCriterion("daifu_imgs >=", value, "daifuImgs");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsLessThan(String value) {
            addCriterion("daifu_imgs <", value, "daifuImgs");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsLessThanOrEqualTo(String value) {
            addCriterion("daifu_imgs <=", value, "daifuImgs");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsLike(String value) {
            addCriterion("daifu_imgs like", value, "daifuImgs");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsNotLike(String value) {
            addCriterion("daifu_imgs not like", value, "daifuImgs");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsIn(List<String> values) {
            addCriterion("daifu_imgs in", values, "daifuImgs");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsNotIn(List<String> values) {
            addCriterion("daifu_imgs not in", values, "daifuImgs");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsBetween(String value1, String value2) {
            addCriterion("daifu_imgs between", value1, value2, "daifuImgs");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsNotBetween(String value1, String value2) {
            addCriterion("daifu_imgs not between", value1, value2, "daifuImgs");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsStatusIsNull() {
            addCriterion("daifu_imgs_status is null");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsStatusIsNotNull() {
            addCriterion("daifu_imgs_status is not null");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsStatusEqualTo(Integer value) {
            addCriterion("daifu_imgs_status =", value, "daifuImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsStatusNotEqualTo(Integer value) {
            addCriterion("daifu_imgs_status <>", value, "daifuImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsStatusGreaterThan(Integer value) {
            addCriterion("daifu_imgs_status >", value, "daifuImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("daifu_imgs_status >=", value, "daifuImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsStatusLessThan(Integer value) {
            addCriterion("daifu_imgs_status <", value, "daifuImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsStatusLessThanOrEqualTo(Integer value) {
            addCriterion("daifu_imgs_status <=", value, "daifuImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsStatusLike(Integer value) {
            addCriterion("daifu_imgs_status like", value, "daifuImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsStatusNotLike(Integer value) {
            addCriterion("daifu_imgs_status not like", value, "daifuImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsStatusIn(List<Integer> values) {
            addCriterion("daifu_imgs_status in", values, "daifuImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsStatusNotIn(List<Integer> values) {
            addCriterion("daifu_imgs_status not in", values, "daifuImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsStatusBetween(Integer value1, Integer value2) {
            addCriterion("daifu_imgs_status between", value1, value2, "daifuImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaifuImgsStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("daifu_imgs_status not between", value1, value2, "daifuImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsIsNull() {
            addCriterion("daigou_imgs is null");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsIsNotNull() {
            addCriterion("daigou_imgs is not null");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsEqualTo(String value) {
            addCriterion("daigou_imgs =", value, "daigouImgs");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsNotEqualTo(String value) {
            addCriterion("daigou_imgs <>", value, "daigouImgs");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsGreaterThan(String value) {
            addCriterion("daigou_imgs >", value, "daigouImgs");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsGreaterThanOrEqualTo(String value) {
            addCriterion("daigou_imgs >=", value, "daigouImgs");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsLessThan(String value) {
            addCriterion("daigou_imgs <", value, "daigouImgs");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsLessThanOrEqualTo(String value) {
            addCriterion("daigou_imgs <=", value, "daigouImgs");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsLike(String value) {
            addCriterion("daigou_imgs like", value, "daigouImgs");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsNotLike(String value) {
            addCriterion("daigou_imgs not like", value, "daigouImgs");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsIn(List<String> values) {
            addCriterion("daigou_imgs in", values, "daigouImgs");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsNotIn(List<String> values) {
            addCriterion("daigou_imgs not in", values, "daigouImgs");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsBetween(String value1, String value2) {
            addCriterion("daigou_imgs between", value1, value2, "daigouImgs");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsNotBetween(String value1, String value2) {
            addCriterion("daigou_imgs not between", value1, value2, "daigouImgs");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsStatusIsNull() {
            addCriterion("daigou_imgs_status is null");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsStatusIsNotNull() {
            addCriterion("daigou_imgs_status is not null");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsStatusEqualTo(Integer value) {
            addCriterion("daigou_imgs_status =", value, "daigouImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsStatusNotEqualTo(Integer value) {
            addCriterion("daigou_imgs_status <>", value, "daigouImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsStatusGreaterThan(Integer value) {
            addCriterion("daigou_imgs_status >", value, "daigouImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("daigou_imgs_status >=", value, "daigouImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsStatusLessThan(Integer value) {
            addCriterion("daigou_imgs_status <", value, "daigouImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsStatusLessThanOrEqualTo(Integer value) {
            addCriterion("daigou_imgs_status <=", value, "daigouImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsStatusLike(Integer value) {
            addCriterion("daigou_imgs_status like", value, "daigouImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsStatusNotLike(Integer value) {
            addCriterion("daigou_imgs_status not like", value, "daigouImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsStatusIn(List<Integer> values) {
            addCriterion("daigou_imgs_status in", values, "daigouImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsStatusNotIn(List<Integer> values) {
            addCriterion("daigou_imgs_status not in", values, "daigouImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsStatusBetween(Integer value1, Integer value2) {
            addCriterion("daigou_imgs_status between", value1, value2, "daigouImgsStatus");
            return (Criteria) this;
        }

        public Criteria andDaigouImgsStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("daigou_imgs_status not between", value1, value2, "daigouImgsStatus");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeIsNull() {
            addCriterion("invoice_type is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeIsNotNull() {
            addCriterion("invoice_type is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeEqualTo(String value) {
            addCriterion("invoice_type =", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotEqualTo(String value) {
            addCriterion("invoice_type <>", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeGreaterThan(String value) {
            addCriterion("invoice_type >", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_type >=", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeLessThan(String value) {
            addCriterion("invoice_type <", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeLessThanOrEqualTo(String value) {
            addCriterion("invoice_type <=", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeLike(String value) {
            addCriterion("invoice_type like", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotLike(String value) {
            addCriterion("invoice_type not like", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeIn(List<String> values) {
            addCriterion("invoice_type in", values, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotIn(List<String> values) {
            addCriterion("invoice_type not in", values, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeBetween(String value1, String value2) {
            addCriterion("invoice_type between", value1, value2, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotBetween(String value1, String value2) {
            addCriterion("invoice_type not between", value1, value2, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andGmtOfferTimeIsNull() {
            addCriterion("gmt_offer_time is null");
            return (Criteria) this;
        }

        public Criteria andGmtOfferTimeIsNotNull() {
            addCriterion("gmt_offer_time is not null");
            return (Criteria) this;
        }

        public Criteria andGmtOfferTimeEqualTo(Date value) {
            addCriterion("gmt_offer_time =", value, "gmtOfferTime");
            return (Criteria) this;
        }

        public Criteria andGmtOfferTimeNotEqualTo(Date value) {
            addCriterion("gmt_offer_time <>", value, "gmtOfferTime");
            return (Criteria) this;
        }

        public Criteria andGmtOfferTimeGreaterThan(Date value) {
            addCriterion("gmt_offer_time >", value, "gmtOfferTime");
            return (Criteria) this;
        }

        public Criteria andGmtOfferTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_offer_time >=", value, "gmtOfferTime");
            return (Criteria) this;
        }

        public Criteria andGmtOfferTimeLessThan(Date value) {
            addCriterion("gmt_offer_time <", value, "gmtOfferTime");
            return (Criteria) this;
        }

        public Criteria andGmtOfferTimeLessThanOrEqualTo(Date value) {
            addCriterion("gmt_offer_time <=", value, "gmtOfferTime");
            return (Criteria) this;
        }

        public Criteria andGmtOfferTimeLike(Date value) {
            addCriterion("gmt_offer_time like", value, "gmtOfferTime");
            return (Criteria) this;
        }

        public Criteria andGmtOfferTimeNotLike(Date value) {
            addCriterion("gmt_offer_time not like", value, "gmtOfferTime");
            return (Criteria) this;
        }

        public Criteria andGmtOfferTimeIn(List<Date> values) {
            addCriterion("gmt_offer_time in", values, "gmtOfferTime");
            return (Criteria) this;
        }

        public Criteria andGmtOfferTimeNotIn(List<Date> values) {
            addCriterion("gmt_offer_time not in", values, "gmtOfferTime");
            return (Criteria) this;
        }

        public Criteria andGmtOfferTimeBetween(Date value1, Date value2) {
            addCriterion("gmt_offer_time between", value1, value2, "gmtOfferTime");
            return (Criteria) this;
        }

        public Criteria andGmtOfferTimeNotBetween(Date value1, Date value2) {
            addCriterion("gmt_offer_time not between", value1, value2, "gmtOfferTime");
            return (Criteria) this;
        }

    }

    /**
     * This class corresponds to the database table b2b_order
    */
    public  static class Criteria extends GeneratedCriteria{
        protected Criteria() {
            super();
        }
    }



    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}